package yunwo.cn.yzstation.bean;

import java.util.List;

/**
 * Created by lao on 2017/9/14.
 */

public class InventoryBean {

    /**
     * code : 200
     * data : {"endRow":5,"firstPage":1,"hasNextPage":true,"hasPreviousPage":false,"isFirstPage":true,"isLastPage":false,"lastPage":8,"list":[{"consigneeName":"不知道","consignorAddress":"","consigneePhone":"1542558","trackingStatus":0,"endOrganName":"广州中铁","trackingNumber":"ztwl201709120021","beginOrganName":"中铁物流","trackingId":"W7335J26215025012736","consigneeAddress":"啊啊啊","consignorName":"","consignorPhone":""},{"consigneeName":"测试","consignorAddress":"","consigneePhone":"","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1241","beginOrganName":"云企平台","trackingId":"F7341Q04644841680896","consigneeAddress":"","consignorName":"","consignorPhone":""},{"consigneeName":"嘿嘿嘿","consignorAddress":"","consigneePhone":"","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1222","beginOrganName":"云企平台","trackingId":"S7338U86772924166144","consigneeAddress":"","consignorName":"","consignorPhone":""},{"consigneeName":"测试","consignorAddress":"测试","consigneePhone":"13858585858","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1240","beginOrganName":"云企平台","trackingId":"D7341K04422413545472","consigneeAddress":"测试地址","consignorName":"测试发货人","consignorPhone":"13585858585"},{"consigneeName":"看看","consignorAddress":"","consigneePhone":"25555","trackingStatus":0,"endOrganName":"xxx","trackingNumber":"ztwl20170912001724","beginOrganName":"中铁物流","trackingId":"V7338W04143860297728","consigneeAddress":"122个赞了","consignorName":"","consignorPhone":""}],"navigatePages":8,"navigatepageNums":[1,2,3,4,5,6,7,8],"nextPage":2,"orderBy":"","pageNum":1,"pageSize":5,"pages":18,"prePage":0,"size":5,"startRow":1,"total":89}
     * msg : SUCCESS
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * endRow : 5
         * firstPage : 1
         * hasNextPage : true
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : false
         * lastPage : 8
         * list : [{"consigneeName":"不知道","consignorAddress":"","consigneePhone":"1542558","trackingStatus":0,"endOrganName":"广州中铁","trackingNumber":"ztwl201709120021","beginOrganName":"中铁物流","trackingId":"W7335J26215025012736","consigneeAddress":"啊啊啊","consignorName":"","consignorPhone":""},{"consigneeName":"测试","consignorAddress":"","consigneePhone":"","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1241","beginOrganName":"云企平台","trackingId":"F7341Q04644841680896","consigneeAddress":"","consignorName":"","consignorPhone":""},{"consigneeName":"嘿嘿嘿","consignorAddress":"","consigneePhone":"","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1222","beginOrganName":"云企平台","trackingId":"S7338U86772924166144","consigneeAddress":"","consignorName":"","consignorPhone":""},{"consigneeName":"测试","consignorAddress":"测试","consigneePhone":"13858585858","trackingStatus":0,"endOrganName":"沙河超大","trackingNumber":"1240","beginOrganName":"云企平台","trackingId":"D7341K04422413545472","consigneeAddress":"测试地址","consignorName":"测试发货人","consignorPhone":"13585858585"},{"consigneeName":"看看","consignorAddress":"","consigneePhone":"25555","trackingStatus":0,"endOrganName":"xxx","trackingNumber":"ztwl20170912001724","beginOrganName":"中铁物流","trackingId":"V7338W04143860297728","consigneeAddress":"122个赞了","consignorName":"","consignorPhone":""}]
         * navigatePages : 8
         * navigatepageNums : [1,2,3,4,5,6,7,8]
         * nextPage : 2
         * orderBy :
         * pageNum : 1
         * pageSize : 5
         * pages : 18
         * prePage : 0
         * size : 5
         * startRow : 1
         * total : 89
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigatePages;
        private int nextPage;
        private String orderBy;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public String getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(String orderBy) {
            this.orderBy = orderBy;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * consigneeName : 不知道
             * consignorAddress :
             * consigneePhone : 1542558
             * trackingStatus : 0
             * endOrganName : 广州中铁
             * trackingNumber : ztwl201709120021
             * beginOrganName : 中铁物流
             * trackingId : W7335J26215025012736
             * consigneeAddress : 啊啊啊
             * consignorName :
             * consignorPhone :
             */

            private String consigneeName;
            private String consignorAddress;
            private String consigneePhone;
            private int trackingStatus;
            private String endOrganName;
            private String trackingNumber;
            private String beginOrganName;
            private String trackingId;
            private String consigneeAddress;
            private String consignorName;
            private String consignorPhone;

            public String getConsigneeName() {
                return consigneeName;
            }

            public void setConsigneeName(String consigneeName) {
                this.consigneeName = consigneeName;
            }

            public String getConsignorAddress() {
                return consignorAddress;
            }

            public void setConsignorAddress(String consignorAddress) {
                this.consignorAddress = consignorAddress;
            }

            public String getConsigneePhone() {
                return consigneePhone;
            }

            public void setConsigneePhone(String consigneePhone) {
                this.consigneePhone = consigneePhone;
            }

            public int getTrackingStatus() {
                return trackingStatus;
            }

            public void setTrackingStatus(int trackingStatus) {
                this.trackingStatus = trackingStatus;
            }

            public String getEndOrganName() {
                return endOrganName;
            }

            public void setEndOrganName(String endOrganName) {
                this.endOrganName = endOrganName;
            }

            public String getTrackingNumber() {
                return trackingNumber;
            }

            public void setTrackingNumber(String trackingNumber) {
                this.trackingNumber = trackingNumber;
            }

            public String getBeginOrganName() {
                return beginOrganName;
            }

            public void setBeginOrganName(String beginOrganName) {
                this.beginOrganName = beginOrganName;
            }

            public String getTrackingId() {
                return trackingId;
            }

            public void setTrackingId(String trackingId) {
                this.trackingId = trackingId;
            }

            public String getConsigneeAddress() {
                return consigneeAddress;
            }

            public void setConsigneeAddress(String consigneeAddress) {
                this.consigneeAddress = consigneeAddress;
            }

            public String getConsignorName() {
                return consignorName;
            }

            public void setConsignorName(String consignorName) {
                this.consignorName = consignorName;
            }

            public String getConsignorPhone() {
                return consignorPhone;
            }

            public void setConsignorPhone(String consignorPhone) {
                this.consignorPhone = consignorPhone;
            }
        }
    }
}
